//
//  DataService.m
//  项目一
//
//  Created by nick on 15/7/21.
//  Copyright (c) 2015年 nick. All rights reserved.
//

#import "DataService.h"

@implementation DataService
+ (id)setDataWithJason:(NSString *)jason{
    NSString *filePath = [[NSBundle mainBundle]pathForResource:jason ofType:@"json"];
    //直接存储二进制数据
    NSData *data = [NSData dataWithContentsOfFile:filePath];
    id information = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
    return information;
}
@end
